package com.poetry.vup.works.service;

import com.poetry.vup.common.entity.works.VupExhibitionDO;
import com.poetry.vup.common.result.BaseResult;
import com.poetry.vup.common.result.page.BasePage;
import com.poetry.vup.works.domain.VupDetialVO;
import com.poetry.vup.works.domain.VupExhibitionVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface VupExhibitionService {
    /**
     * 添加
     * @param vupExhibitionDO
     * @return
     */
    Long addVup(VupExhibitionDO vupExhibitionDO);

    BasePage<VupExhibitionVO> findAllVup(int pageSize, int pageNum);

    VupDetialVO findDetail(Long id);

    BaseResult uploadVupImage(MultipartFile file, Long id);

    List<VupExhibitionVO> findList();

    Long addVup(String midId);

    List<VupExhibitionVO> findVupName(String name);

    void findBanner();
}
